package com.atguigu.gmall.product.service;


import com.atguigu.gmall.model.product.SpuInfo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author Dell
* @description 针对表【spu_info(商品表)】的数据库操作Service
* @createDate 2022-05-18 19:40:48
*/
public interface BaseSpuInfoService extends IService<SpuInfo> {

    /**
     * 分页查询Spu信息
     * @param page
     * @param limit
     * @param category3Id
     * @return
     */
    Page<SpuInfo> getSpuListPage(Long page, Long limit, Long category3Id);

    /**
     * 保存商品
     * @param spuInfo
     */
    void saveSpuInfo(SpuInfo spuInfo);
}
